PATH  Mac OS 8 and 9 Developer Documentation > Human Interface Toolbox > Icon Services and Utilities
>
Obtaining and Using Icons With Icon Services

   

GetIconFamily

Obtains a copy of the data for a specified icon family.

pascal OSErr GetIconFamilyData(
                     IconFamilyHandleiconFamily,
                     OSTypeiconType,
                     Handleh)

iconFamily
A handle to an iconFamily data structure to use as a source for icon data.

iconType
A value of type OSType specifying the format of the icon data passed to you.You may specify one of the icon types (such as 'icns' ) or 'PICT' in this parameter.

h
A handle to the icon data being returned. Icon Services resizes this handle as needed. If no data is available for the specified icon family, Icon Services sets the handle to 0.

function result
A result code. See Icon Services Result Codes for a description of possible return values.

© 1999 Apple Computer, Inc. – (Last Updated 03 Dec 99)